package com.dglg.spring.service.impl;

import com.dglg.spring.dao.LoginDao;
import com.dglg.spring.model.User;
import com.dglg.spring.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginDao loginDao;

    @Override
    public User getUser(String account, String password) {
        return loginDao.getUser(account, password);
    }

}
